package com.fjec.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 002.赠送礼物表
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
@TableName("biz_give_gift")
@Data
public class BizGiveGift implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 送礼用户Id
     */
    @TableField("GiveId")
    private Long giveId;

    /**
     * 商户类型
     */
    @TableField("BusiType")
    private Integer busiType;

    /**
     * 收礼用户Id
     */
    @TableField("ReceId")
    private Long receId;

    /**
     * 收礼店铺名
     */
    @TableField("ShopName")
    private String shopName;

    /**
     * 是否已接收 0=否
1=是
     */
    @TableField("Received")
    private Integer received;

    /**
     * 赠言
     */
    @TableField("Content")
    private String content;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private LocalDateTime updateTime;

    @Override
    public String toString() {
        return "BizGiveGift{" +
            "id=" + id +
            ", giveId=" + giveId +
            ", receId=" + receId +
            ", received=" + received +
            ", content=" + content +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
        "}";
    }
}
